updating oE driveid

driveid

include filesys.e 
namespace filesys 
public function driveid(sequence path) 

returns the drive letter of the path on Windows platforms.

Parameters:
  1. path : the path from which to extract information
Returns:

A sequence, the file extension part of path.

TODO: Test

Example 1:
letter = driveid("C:\\EUPHORIA\\Readme.txt") 
-- letter is "C" 
See Also:

pathinfo, dirname, filename

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu